execute if score @s rmr.entity.rotten_pillager_captain.stage matches 0 run attribute @s generic.movement_speed modifier add rmr:stage_1_movement_speed 0.025 add_value
execute if score @s rmr.entity.rotten_pillager_captain.stage matches 1.. run attribute @s generic.movement_speed modifier add rmr:stage_2_movement_speed 0.05 add_value
execute run tp @s ~ ~ ~ facing entity @p
execute if score # rmr.entity.hell_mode matches 1 if score @s rmr.entity.rotten_pillager_captain.stage matches 1.. run return run function rmr:entity/rotten_pillager_captain/hell_skill
function rmr:entity/rotten_pillager_captain/dash